package com.java.module.user.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 用户登录响应实体类
 * 
 * @author yilabao
 * @date 2021年2月3日
 */
@ApiModel(value = "登录响应")
public class UserLoginVO {

    @ApiModelProperty(value = "用户token", position = 1)
    private String token;

    @ApiModelProperty(value = "是否需要设置信息，当为1的时候需要")
    private Integer setStatus;

    public UserLoginVO(String token,int setStatus) {
        this.token = token;
        this.setStatus = setStatus;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    @Override
    public String toString() {
        return "UserLoginVO [token=" + token + "]";
    }

    public Integer getSetStatus() {
        return setStatus;
    }

    public void setSetStatus(Integer setStatus) {
        this.setStatus = setStatus;
    }
}